// Author: wsfuyibing <682805@qq.com>
// Date: 2025-06-30

package session

import (
	"server/app/http/models"
	"server/app/http/responses"
)

// Response
// 出参.
type Response struct {
	Arcade  *responses.ArcadeResponse
	Ticket  *responses.TicketResponse
	Session *responses.TicketSessionResponse
}

// NewResponse
// 创建出参.
func NewResponse() *Response {
	return &Response{}
}

// WithArcade
// 绑定钓场.
func (o *Response) WithArcade(m *models.Arcades) {
	o.Arcade = (&responses.ArcadeResponse{}).With(m)
}

// WithSession
// 绑定场次.
func (o *Response) WithSession(m *models.TicketSession) {
	o.Session = (&responses.TicketSessionResponse{}).With(m)
}

// WithTicket
// 绑定渔票.
func (o *Response) WithTicket(m *models.Ticket) {
	o.Ticket = (&responses.TicketResponse{}).With(m)
}
